package com.woniu.his.pms.common;


import com.woniu.his.result.ResultCode;

public enum PmsResultCode implements ResultCode {

    DEMO_CODE(300, "DEMO_CODE 请删除"),
    LOGIN_RESULT_CODE(301,"账号异常或者不存在"),
    CODE_NOT_EXIST_OR_EXPIRED(1001,"验证码没有或已过期"),
    CODE_NOT_TRUE(1002,"验证码不正确"),
    PATIENT_NOT_EXISTS(1003,"患者未注册"),
    ;

    private int code;
    private String message;

    private PmsResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
